package com.liyiqing.commonservice.utils;

/**
 * 状态码
 */
public enum StatusCode {
    DATA_NOT_FOUND(400,"未找到有效数据"),
    VALID_EXCEPTION(500,"校验时发现参数异常"),
    NOT_LOGGED_IN(600,"请登录账号！");


    private Integer code;
    private String msg;

    StatusCode(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
